package demo3;

public class Service {

    private ServiceDao dao;

    public void update() {
        dao.update();
    }

    public ServiceDao getDao() {
        return dao;
    }

    public void setDao(ServiceDao dao) {
        this.dao = dao;
    }
}
